/*
DA table generator v. 1.6

Filter from file: C:\Users\GG\Desktop\PRUS\DA\lut.in

Real coefficients: 
877 -553 -2563 8745 19757 8745 -2563 -553 877 

Scale coefficent 15

Integral coefficients: 
[28737536,-18120704,-83984384,286556160,647397376,286556160,-83984384,-18120704,28737536]
Input vector size 9
Output vector size 32

Integral coefficients: 
[877,-553,-2563,8745,19757,8745,-2563,-553,877]
Input vector size 9
Output vector size 17


*/

module lut(table_in,table_out);
input [8:0] table_in;
output [16:0] table_out;
reg [16:0] table_out;

always@(table_in)
          case (table_in)
          9'b000000000:table_out = 17'b00000000000000000;
          9'b000000001:table_out = 17'b00000001101101101;
          9'b000000010:table_out = 17'b11111110111010111;
          9'b000000011:table_out = 17'b00000000101000100;
          9'b000000100:table_out = 17'b11111010111111101;
          9'b000000101:table_out = 17'b11111100101101010;
          9'b000000110:table_out = 17'b11111001111010100;
          9'b000000111:table_out = 17'b11111011101000001;
          9'b000001000:table_out = 17'b00010001000101001;
          9'b000001001:table_out = 17'b00010010110010110;
          9'b000001010:table_out = 17'b00010000000000000;
          9'b000001011:table_out = 17'b00010001101101101;
          9'b000001100:table_out = 17'b00001100000100110;
          9'b000001101:table_out = 17'b00001101110010011;
          9'b000001110:table_out = 17'b00001010111111101;
          9'b000001111:table_out = 17'b00001100101101010;
          9'b000010000:table_out = 17'b00100110100101101;
          9'b000010001:table_out = 17'b00101000010011010;
          9'b000010010:table_out = 17'b00100101100000100;
          9'b000010011:table_out = 17'b00100111001110001;
          9'b000010100:table_out = 17'b00100001100101010;
          9'b000010101:table_out = 17'b00100011010010111;
          9'b000010110:table_out = 17'b00100000100000001;
          9'b000010111:table_out = 17'b00100010001101110;
          9'b000011000:table_out = 17'b00110111101010110;
          9'b000011001:table_out = 17'b00111001011000011;
          9'b000011010:table_out = 17'b00110110100101101;
          9'b000011011:table_out = 17'b00111000010011010;
          9'b000011100:table_out = 17'b00110010101010011;
          9'b000011101:table_out = 17'b00110100011000000;
          9'b000011110:table_out = 17'b00110001100101010;
          9'b000011111:table_out = 17'b00110011010010111;
          9'b000100000:table_out = 17'b00010001000101001;
          9'b000100001:table_out = 17'b00010010110010110;
          9'b000100010:table_out = 17'b00010000000000000;
          9'b000100011:table_out = 17'b00010001101101101;
          9'b000100100:table_out = 17'b00001100000100110;
          9'b000100101:table_out = 17'b00001101110010011;
          9'b000100110:table_out = 17'b00001010111111101;
          9'b000100111:table_out = 17'b00001100101101010;
          9'b000101000:table_out = 17'b00100010001010010;
          9'b000101001:table_out = 17'b00100011110111111;
          9'b000101010:table_out = 17'b00100001000101001;
          9'b000101011:table_out = 17'b00100010110010110;
          9'b000101100:table_out = 17'b00011101001001111;
          9'b000101101:table_out = 17'b00011110110111100;
          9'b000101110:table_out = 17'b00011100000100110;
          9'b000101111:table_out = 17'b00011101110010011;
          9'b000110000:table_out = 17'b00110111101010110;
          9'b000110001:table_out = 17'b00111001011000011;
          9'b000110010:table_out = 17'b00110110100101101;
          9'b000110011:table_out = 17'b00111000010011010;
          9'b000110100:table_out = 17'b00110010101010011;
          9'b000110101:table_out = 17'b00110100011000000;
          9'b000110110:table_out = 17'b00110001100101010;
          9'b000110111:table_out = 17'b00110011010010111;
          9'b000111000:table_out = 17'b01001000101111111;
          9'b000111001:table_out = 17'b01001010011101100;
          9'b000111010:table_out = 17'b01000111101010110;
          9'b000111011:table_out = 17'b01001001011000011;
          9'b000111100:table_out = 17'b01000011101111100;
          9'b000111101:table_out = 17'b01000101011101001;
          9'b000111110:table_out = 17'b01000010101010011;
          9'b000111111:table_out = 17'b01000100011000000;
          9'b001000000:table_out = 17'b11111010111111101;
          9'b001000001:table_out = 17'b11111100101101010;
          9'b001000010:table_out = 17'b11111001111010100;
          9'b001000011:table_out = 17'b11111011101000001;
          9'b001000100:table_out = 17'b11110101111111010;
          9'b001000101:table_out = 17'b11110111101100111;
          9'b001000110:table_out = 17'b11110100111010001;
          9'b001000111:table_out = 17'b11110110100111110;
          9'b001001000:table_out = 17'b00001100000100110;
          9'b001001001:table_out = 17'b00001101110010011;
          9'b001001010:table_out = 17'b00001010111111101;
          9'b001001011:table_out = 17'b00001100101101010;
          9'b001001100:table_out = 17'b00000111000100011;
          9'b001001101:table_out = 17'b00001000110010000;
          9'b001001110:table_out = 17'b00000101111111010;
          9'b001001111:table_out = 17'b00000111101100111;
          9'b001010000:table_out = 17'b00100001100101010;
          9'b001010001:table_out = 17'b00100011010010111;
          9'b001010010:table_out = 17'b00100000100000001;
          9'b001010011:table_out = 17'b00100010001101110;
          9'b001010100:table_out = 17'b00011100100100111;
          9'b001010101:table_out = 17'b00011110010010100;
          9'b001010110:table_out = 17'b00011011011111110;
          9'b001010111:table_out = 17'b00011101001101011;
          9'b001011000:table_out = 17'b00110010101010011;
          9'b001011001:table_out = 17'b00110100011000000;
          9'b001011010:table_out = 17'b00110001100101010;
          9'b001011011:table_out = 17'b00110011010010111;
          9'b001011100:table_out = 17'b00101101101010000;
          9'b001011101:table_out = 17'b00101111010111101;
          9'b001011110:table_out = 17'b00101100100100111;
          9'b001011111:table_out = 17'b00101110010010100;
          9'b001100000:table_out = 17'b00001100000100110;
          9'b001100001:table_out = 17'b00001101110010011;
          9'b001100010:table_out = 17'b00001010111111101;
          9'b001100011:table_out = 17'b00001100101101010;
          9'b001100100:table_out = 17'b00000111000100011;
          9'b001100101:table_out = 17'b00001000110010000;
          9'b001100110:table_out = 17'b00000101111111010;
          9'b001100111:table_out = 17'b00000111101100111;
          9'b001101000:table_out = 17'b00011101001001111;
          9'b001101001:table_out = 17'b00011110110111100;
          9'b001101010:table_out = 17'b00011100000100110;
          9'b001101011:table_out = 17'b00011101110010011;
          9'b001101100:table_out = 17'b00011000001001100;
          9'b001101101:table_out = 17'b00011001110111001;
          9'b001101110:table_out = 17'b00010111000100011;
          9'b001101111:table_out = 17'b00011000110010000;
          9'b001110000:table_out = 17'b00110010101010011;
          9'b001110001:table_out = 17'b00110100011000000;
          9'b001110010:table_out = 17'b00110001100101010;
          9'b001110011:table_out = 17'b00110011010010111;
          9'b001110100:table_out = 17'b00101101101010000;
          9'b001110101:table_out = 17'b00101111010111101;
          9'b001110110:table_out = 17'b00101100100100111;
          9'b001110111:table_out = 17'b00101110010010100;
          9'b001111000:table_out = 17'b01000011101111100;
          9'b001111001:table_out = 17'b01000101011101001;
          9'b001111010:table_out = 17'b01000010101010011;
          9'b001111011:table_out = 17'b01000100011000000;
          9'b001111100:table_out = 17'b00111110101111001;
          9'b001111101:table_out = 17'b01000000011100110;
          9'b001111110:table_out = 17'b00111101101010000;
          9'b001111111:table_out = 17'b00111111010111101;
          9'b010000000:table_out = 17'b11111110111010111;
          9'b010000001:table_out = 17'b00000000101000100;
          9'b010000010:table_out = 17'b11111101110101110;
          9'b010000011:table_out = 17'b11111111100011011;
          9'b010000100:table_out = 17'b11111001111010100;
          9'b010000101:table_out = 17'b11111011101000001;
          9'b010000110:table_out = 17'b11111000110101011;
          9'b010000111:table_out = 17'b11111010100011000;
          9'b010001000:table_out = 17'b00010000000000000;
          9'b010001001:table_out = 17'b00010001101101101;
          9'b010001010:table_out = 17'b00001110111010111;
          9'b010001011:table_out = 17'b00010000101000100;
          9'b010001100:table_out = 17'b00001010111111101;
          9'b010001101:table_out = 17'b00001100101101010;
          9'b010001110:table_out = 17'b00001001111010100;
          9'b010001111:table_out = 17'b00001011101000001;
          9'b010010000:table_out = 17'b00100101100000100;
          9'b010010001:table_out = 17'b00100111001110001;
          9'b010010010:table_out = 17'b00100100011011011;
          9'b010010011:table_out = 17'b00100110001001000;
          9'b010010100:table_out = 17'b00100000100000001;
          9'b010010101:table_out = 17'b00100010001101110;
          9'b010010110:table_out = 17'b00011111011011000;
          9'b010010111:table_out = 17'b00100001001000101;
          9'b010011000:table_out = 17'b00110110100101101;
          9'b010011001:table_out = 17'b00111000010011010;
          9'b010011010:table_out = 17'b00110101100000100;
          9'b010011011:table_out = 17'b00110111001110001;
          9'b010011100:table_out = 17'b00110001100101010;
          9'b010011101:table_out = 17'b00110011010010111;
          9'b010011110:table_out = 17'b00110000100000001;
          9'b010011111:table_out = 17'b00110010001101110;
          9'b010100000:table_out = 17'b00010000000000000;
          9'b010100001:table_out = 17'b00010001101101101;
          9'b010100010:table_out = 17'b00001110111010111;
          9'b010100011:table_out = 17'b00010000101000100;
          9'b010100100:table_out = 17'b00001010111111101;
          9'b010100101:table_out = 17'b00001100101101010;
          9'b010100110:table_out = 17'b00001001111010100;
          9'b010100111:table_out = 17'b00001011101000001;
          9'b010101000:table_out = 17'b00100001000101001;
          9'b010101001:table_out = 17'b00100010110010110;
          9'b010101010:table_out = 17'b00100000000000000;
          9'b010101011:table_out = 17'b00100001101101101;
          9'b010101100:table_out = 17'b00011100000100110;
          9'b010101101:table_out = 17'b00011101110010011;
          9'b010101110:table_out = 17'b00011010111111101;
          9'b010101111:table_out = 17'b00011100101101010;
          9'b010110000:table_out = 17'b00110110100101101;
          9'b010110001:table_out = 17'b00111000010011010;
          9'b010110010:table_out = 17'b00110101100000100;
          9'b010110011:table_out = 17'b00110111001110001;
          9'b010110100:table_out = 17'b00110001100101010;
          9'b010110101:table_out = 17'b00110011010010111;
          9'b010110110:table_out = 17'b00110000100000001;
          9'b010110111:table_out = 17'b00110010001101110;
          9'b010111000:table_out = 17'b01000111101010110;
          9'b010111001:table_out = 17'b01001001011000011;
          9'b010111010:table_out = 17'b01000110100101101;
          9'b010111011:table_out = 17'b01001000010011010;
          9'b010111100:table_out = 17'b01000010101010011;
          9'b010111101:table_out = 17'b01000100011000000;
          9'b010111110:table_out = 17'b01000001100101010;
          9'b010111111:table_out = 17'b01000011010010111;
          9'b011000000:table_out = 17'b11111001111010100;
          9'b011000001:table_out = 17'b11111011101000001;
          9'b011000010:table_out = 17'b11111000110101011;
          9'b011000011:table_out = 17'b11111010100011000;
          9'b011000100:table_out = 17'b11110100111010001;
          9'b011000101:table_out = 17'b11110110100111110;
          9'b011000110:table_out = 17'b11110011110101000;
          9'b011000111:table_out = 17'b11110101100010101;
          9'b011001000:table_out = 17'b00001010111111101;
          9'b011001001:table_out = 17'b00001100101101010;
          9'b011001010:table_out = 17'b00001001111010100;
          9'b011001011:table_out = 17'b00001011101000001;
          9'b011001100:table_out = 17'b00000101111111010;
          9'b011001101:table_out = 17'b00000111101100111;
          9'b011001110:table_out = 17'b00000100111010001;
          9'b011001111:table_out = 17'b00000110100111110;
          9'b011010000:table_out = 17'b00100000100000001;
          9'b011010001:table_out = 17'b00100010001101110;
          9'b011010010:table_out = 17'b00011111011011000;
          9'b011010011:table_out = 17'b00100001001000101;
          9'b011010100:table_out = 17'b00011011011111110;
          9'b011010101:table_out = 17'b00011101001101011;
          9'b011010110:table_out = 17'b00011010011010101;
          9'b011010111:table_out = 17'b00011100001000010;
          9'b011011000:table_out = 17'b00110001100101010;
          9'b011011001:table_out = 17'b00110011010010111;
          9'b011011010:table_out = 17'b00110000100000001;
          9'b011011011:table_out = 17'b00110010001101110;
          9'b011011100:table_out = 17'b00101100100100111;
          9'b011011101:table_out = 17'b00101110010010100;
          9'b011011110:table_out = 17'b00101011011111110;
          9'b011011111:table_out = 17'b00101101001101011;
          9'b011100000:table_out = 17'b00001010111111101;
          9'b011100001:table_out = 17'b00001100101101010;
          9'b011100010:table_out = 17'b00001001111010100;
          9'b011100011:table_out = 17'b00001011101000001;
          9'b011100100:table_out = 17'b00000101111111010;
          9'b011100101:table_out = 17'b00000111101100111;
          9'b011100110:table_out = 17'b00000100111010001;
          9'b011100111:table_out = 17'b00000110100111110;
          9'b011101000:table_out = 17'b00011100000100110;
          9'b011101001:table_out = 17'b00011101110010011;
          9'b011101010:table_out = 17'b00011010111111101;
          9'b011101011:table_out = 17'b00011100101101010;
          9'b011101100:table_out = 17'b00010111000100011;
          9'b011101101:table_out = 17'b00011000110010000;
          9'b011101110:table_out = 17'b00010101111111010;
          9'b011101111:table_out = 17'b00010111101100111;
          9'b011110000:table_out = 17'b00110001100101010;
          9'b011110001:table_out = 17'b00110011010010111;
          9'b011110010:table_out = 17'b00110000100000001;
          9'b011110011:table_out = 17'b00110010001101110;
          9'b011110100:table_out = 17'b00101100100100111;
          9'b011110101:table_out = 17'b00101110010010100;
          9'b011110110:table_out = 17'b00101011011111110;
          9'b011110111:table_out = 17'b00101101001101011;
          9'b011111000:table_out = 17'b01000010101010011;
          9'b011111001:table_out = 17'b01000100011000000;
          9'b011111010:table_out = 17'b01000001100101010;
          9'b011111011:table_out = 17'b01000011010010111;
          9'b011111100:table_out = 17'b00111101101010000;
          9'b011111101:table_out = 17'b00111111010111101;
          9'b011111110:table_out = 17'b00111100100100111;
          9'b011111111:table_out = 17'b00111110010010100;
          9'b100000000:table_out = 17'b00000001101101101;
          9'b100000001:table_out = 17'b00000011011011010;
          9'b100000010:table_out = 17'b00000000101000100;
          9'b100000011:table_out = 17'b00000010010110001;
          9'b100000100:table_out = 17'b11111100101101010;
          9'b100000101:table_out = 17'b11111110011010111;
          9'b100000110:table_out = 17'b11111011101000001;
          9'b100000111:table_out = 17'b11111101010101110;
          9'b100001000:table_out = 17'b00010010110010110;
          9'b100001001:table_out = 17'b00010100100000011;
          9'b100001010:table_out = 17'b00010001101101101;
          9'b100001011:table_out = 17'b00010011011011010;
          9'b100001100:table_out = 17'b00001101110010011;
          9'b100001101:table_out = 17'b00001111100000000;
          9'b100001110:table_out = 17'b00001100101101010;
          9'b100001111:table_out = 17'b00001110011010111;
          9'b100010000:table_out = 17'b00101000010011010;
          9'b100010001:table_out = 17'b00101010000000111;
          9'b100010010:table_out = 17'b00100111001110001;
          9'b100010011:table_out = 17'b00101000111011110;
          9'b100010100:table_out = 17'b00100011010010111;
          9'b100010101:table_out = 17'b00100101000000100;
          9'b100010110:table_out = 17'b00100010001101110;
          9'b100010111:table_out = 17'b00100011111011011;
          9'b100011000:table_out = 17'b00111001011000011;
          9'b100011001:table_out = 17'b00111011000110000;
          9'b100011010:table_out = 17'b00111000010011010;
          9'b100011011:table_out = 17'b00111010000000111;
          9'b100011100:table_out = 17'b00110100011000000;
          9'b100011101:table_out = 17'b00110110000101101;
          9'b100011110:table_out = 17'b00110011010010111;
          9'b100011111:table_out = 17'b00110101000000100;
          9'b100100000:table_out = 17'b00010010110010110;
          9'b100100001:table_out = 17'b00010100100000011;
          9'b100100010:table_out = 17'b00010001101101101;
          9'b100100011:table_out = 17'b00010011011011010;
          9'b100100100:table_out = 17'b00001101110010011;
          9'b100100101:table_out = 17'b00001111100000000;
          9'b100100110:table_out = 17'b00001100101101010;
          9'b100100111:table_out = 17'b00001110011010111;
          9'b100101000:table_out = 17'b00100011110111111;
          9'b100101001:table_out = 17'b00100101100101100;
          9'b100101010:table_out = 17'b00100010110010110;
          9'b100101011:table_out = 17'b00100100100000011;
          9'b100101100:table_out = 17'b00011110110111100;
          9'b100101101:table_out = 17'b00100000100101001;
          9'b100101110:table_out = 17'b00011101110010011;
          9'b100101111:table_out = 17'b00011111100000000;
          9'b100110000:table_out = 17'b00111001011000011;
          9'b100110001:table_out = 17'b00111011000110000;
          9'b100110010:table_out = 17'b00111000010011010;
          9'b100110011:table_out = 17'b00111010000000111;
          9'b100110100:table_out = 17'b00110100011000000;
          9'b100110101:table_out = 17'b00110110000101101;
          9'b100110110:table_out = 17'b00110011010010111;
          9'b100110111:table_out = 17'b00110101000000100;
          9'b100111000:table_out = 17'b01001010011101100;
          9'b100111001:table_out = 17'b01001100001011001;
          9'b100111010:table_out = 17'b01001001011000011;
          9'b100111011:table_out = 17'b01001011000110000;
          9'b100111100:table_out = 17'b01000101011101001;
          9'b100111101:table_out = 17'b01000111001010110;
          9'b100111110:table_out = 17'b01000100011000000;
          9'b100111111:table_out = 17'b01000110000101101;
          9'b101000000:table_out = 17'b11111100101101010;
          9'b101000001:table_out = 17'b11111110011010111;
          9'b101000010:table_out = 17'b11111011101000001;
          9'b101000011:table_out = 17'b11111101010101110;
          9'b101000100:table_out = 17'b11110111101100111;
          9'b101000101:table_out = 17'b11111001011010100;
          9'b101000110:table_out = 17'b11110110100111110;
          9'b101000111:table_out = 17'b11111000010101011;
          9'b101001000:table_out = 17'b00001101110010011;
          9'b101001001:table_out = 17'b00001111100000000;
          9'b101001010:table_out = 17'b00001100101101010;
          9'b101001011:table_out = 17'b00001110011010111;
          9'b101001100:table_out = 17'b00001000110010000;
          9'b101001101:table_out = 17'b00001010011111101;
          9'b101001110:table_out = 17'b00000111101100111;
          9'b101001111:table_out = 17'b00001001011010100;
          9'b101010000:table_out = 17'b00100011010010111;
          9'b101010001:table_out = 17'b00100101000000100;
          9'b101010010:table_out = 17'b00100010001101110;
          9'b101010011:table_out = 17'b00100011111011011;
          9'b101010100:table_out = 17'b00011110010010100;
          9'b101010101:table_out = 17'b00100000000000001;
          9'b101010110:table_out = 17'b00011101001101011;
          9'b101010111:table_out = 17'b00011110111011000;
          9'b101011000:table_out = 17'b00110100011000000;
          9'b101011001:table_out = 17'b00110110000101101;
          9'b101011010:table_out = 17'b00110011010010111;
          9'b101011011:table_out = 17'b00110101000000100;
          9'b101011100:table_out = 17'b00101111010111101;
          9'b101011101:table_out = 17'b00110001000101010;
          9'b101011110:table_out = 17'b00101110010010100;
          9'b101011111:table_out = 17'b00110000000000001;
          9'b101100000:table_out = 17'b00001101110010011;
          9'b101100001:table_out = 17'b00001111100000000;
          9'b101100010:table_out = 17'b00001100101101010;
          9'b101100011:table_out = 17'b00001110011010111;
          9'b101100100:table_out = 17'b00001000110010000;
          9'b101100101:table_out = 17'b00001010011111101;
          9'b101100110:table_out = 17'b00000111101100111;
          9'b101100111:table_out = 17'b00001001011010100;
          9'b101101000:table_out = 17'b00011110110111100;
          9'b101101001:table_out = 17'b00100000100101001;
          9'b101101010:table_out = 17'b00011101110010011;
          9'b101101011:table_out = 17'b00011111100000000;
          9'b101101100:table_out = 17'b00011001110111001;
          9'b101101101:table_out = 17'b00011011100100110;
          9'b101101110:table_out = 17'b00011000110010000;
          9'b101101111:table_out = 17'b00011010011111101;
          9'b101110000:table_out = 17'b00110100011000000;
          9'b101110001:table_out = 17'b00110110000101101;
          9'b101110010:table_out = 17'b00110011010010111;
          9'b101110011:table_out = 17'b00110101000000100;
          9'b101110100:table_out = 17'b00101111010111101;
          9'b101110101:table_out = 17'b00110001000101010;
          9'b101110110:table_out = 17'b00101110010010100;
          9'b101110111:table_out = 17'b00110000000000001;
          9'b101111000:table_out = 17'b01000101011101001;
          9'b101111001:table_out = 17'b01000111001010110;
          9'b101111010:table_out = 17'b01000100011000000;
          9'b101111011:table_out = 17'b01000110000101101;
          9'b101111100:table_out = 17'b01000000011100110;
          9'b101111101:table_out = 17'b01000010001010011;
          9'b101111110:table_out = 17'b00111111010111101;
          9'b101111111:table_out = 17'b01000001000101010;
          9'b110000000:table_out = 17'b00000000101000100;
          9'b110000001:table_out = 17'b00000010010110001;
          9'b110000010:table_out = 17'b11111111100011011;
          9'b110000011:table_out = 17'b00000001010001000;
          9'b110000100:table_out = 17'b11111011101000001;
          9'b110000101:table_out = 17'b11111101010101110;
          9'b110000110:table_out = 17'b11111010100011000;
          9'b110000111:table_out = 17'b11111100010000101;
          9'b110001000:table_out = 17'b00010001101101101;
          9'b110001001:table_out = 17'b00010011011011010;
          9'b110001010:table_out = 17'b00010000101000100;
          9'b110001011:table_out = 17'b00010010010110001;
          9'b110001100:table_out = 17'b00001100101101010;
          9'b110001101:table_out = 17'b00001110011010111;
          9'b110001110:table_out = 17'b00001011101000001;
          9'b110001111:table_out = 17'b00001101010101110;
          9'b110010000:table_out = 17'b00100111001110001;
          9'b110010001:table_out = 17'b00101000111011110;
          9'b110010010:table_out = 17'b00100110001001000;
          9'b110010011:table_out = 17'b00100111110110101;
          9'b110010100:table_out = 17'b00100010001101110;
          9'b110010101:table_out = 17'b00100011111011011;
          9'b110010110:table_out = 17'b00100001001000101;
          9'b110010111:table_out = 17'b00100010110110010;
          9'b110011000:table_out = 17'b00111000010011010;
          9'b110011001:table_out = 17'b00111010000000111;
          9'b110011010:table_out = 17'b00110111001110001;
          9'b110011011:table_out = 17'b00111000111011110;
          9'b110011100:table_out = 17'b00110011010010111;
          9'b110011101:table_out = 17'b00110101000000100;
          9'b110011110:table_out = 17'b00110010001101110;
          9'b110011111:table_out = 17'b00110011111011011;
          9'b110100000:table_out = 17'b00010001101101101;
          9'b110100001:table_out = 17'b00010011011011010;
          9'b110100010:table_out = 17'b00010000101000100;
          9'b110100011:table_out = 17'b00010010010110001;
          9'b110100100:table_out = 17'b00001100101101010;
          9'b110100101:table_out = 17'b00001110011010111;
          9'b110100110:table_out = 17'b00001011101000001;
          9'b110100111:table_out = 17'b00001101010101110;
          9'b110101000:table_out = 17'b00100010110010110;
          9'b110101001:table_out = 17'b00100100100000011;
          9'b110101010:table_out = 17'b00100001101101101;
          9'b110101011:table_out = 17'b00100011011011010;
          9'b110101100:table_out = 17'b00011101110010011;
          9'b110101101:table_out = 17'b00011111100000000;
          9'b110101110:table_out = 17'b00011100101101010;
          9'b110101111:table_out = 17'b00011110011010111;
          9'b110110000:table_out = 17'b00111000010011010;
          9'b110110001:table_out = 17'b00111010000000111;
          9'b110110010:table_out = 17'b00110111001110001;
          9'b110110011:table_out = 17'b00111000111011110;
          9'b110110100:table_out = 17'b00110011010010111;
          9'b110110101:table_out = 17'b00110101000000100;
          9'b110110110:table_out = 17'b00110010001101110;
          9'b110110111:table_out = 17'b00110011111011011;
          9'b110111000:table_out = 17'b01001001011000011;
          9'b110111001:table_out = 17'b01001011000110000;
          9'b110111010:table_out = 17'b01001000010011010;
          9'b110111011:table_out = 17'b01001010000000111;
          9'b110111100:table_out = 17'b01000100011000000;
          9'b110111101:table_out = 17'b01000110000101101;
          9'b110111110:table_out = 17'b01000011010010111;
          9'b110111111:table_out = 17'b01000101000000100;
          9'b111000000:table_out = 17'b11111011101000001;
          9'b111000001:table_out = 17'b11111101010101110;
          9'b111000010:table_out = 17'b11111010100011000;
          9'b111000011:table_out = 17'b11111100010000101;
          9'b111000100:table_out = 17'b11110110100111110;
          9'b111000101:table_out = 17'b11111000010101011;
          9'b111000110:table_out = 17'b11110101100010101;
          9'b111000111:table_out = 17'b11110111010000010;
          9'b111001000:table_out = 17'b00001100101101010;
          9'b111001001:table_out = 17'b00001110011010111;
          9'b111001010:table_out = 17'b00001011101000001;
          9'b111001011:table_out = 17'b00001101010101110;
          9'b111001100:table_out = 17'b00000111101100111;
          9'b111001101:table_out = 17'b00001001011010100;
          9'b111001110:table_out = 17'b00000110100111110;
          9'b111001111:table_out = 17'b00001000010101011;
          9'b111010000:table_out = 17'b00100010001101110;
          9'b111010001:table_out = 17'b00100011111011011;
          9'b111010010:table_out = 17'b00100001001000101;
          9'b111010011:table_out = 17'b00100010110110010;
          9'b111010100:table_out = 17'b00011101001101011;
          9'b111010101:table_out = 17'b00011110111011000;
          9'b111010110:table_out = 17'b00011100001000010;
          9'b111010111:table_out = 17'b00011101110101111;
          9'b111011000:table_out = 17'b00110011010010111;
          9'b111011001:table_out = 17'b00110101000000100;
          9'b111011010:table_out = 17'b00110010001101110;
          9'b111011011:table_out = 17'b00110011111011011;
          9'b111011100:table_out = 17'b00101110010010100;
          9'b111011101:table_out = 17'b00110000000000001;
          9'b111011110:table_out = 17'b00101101001101011;
          9'b111011111:table_out = 17'b00101110111011000;
          9'b111100000:table_out = 17'b00001100101101010;
          9'b111100001:table_out = 17'b00001110011010111;
          9'b111100010:table_out = 17'b00001011101000001;
          9'b111100011:table_out = 17'b00001101010101110;
          9'b111100100:table_out = 17'b00000111101100111;
          9'b111100101:table_out = 17'b00001001011010100;
          9'b111100110:table_out = 17'b00000110100111110;
          9'b111100111:table_out = 17'b00001000010101011;
          9'b111101000:table_out = 17'b00011101110010011;
          9'b111101001:table_out = 17'b00011111100000000;
          9'b111101010:table_out = 17'b00011100101101010;
          9'b111101011:table_out = 17'b00011110011010111;
          9'b111101100:table_out = 17'b00011000110010000;
          9'b111101101:table_out = 17'b00011010011111101;
          9'b111101110:table_out = 17'b00010111101100111;
          9'b111101111:table_out = 17'b00011001011010100;
          9'b111110000:table_out = 17'b00110011010010111;
          9'b111110001:table_out = 17'b00110101000000100;
          9'b111110010:table_out = 17'b00110010001101110;
          9'b111110011:table_out = 17'b00110011111011011;
          9'b111110100:table_out = 17'b00101110010010100;
          9'b111110101:table_out = 17'b00110000000000001;
          9'b111110110:table_out = 17'b00101101001101011;
          9'b111110111:table_out = 17'b00101110111011000;
          9'b111111000:table_out = 17'b01000100011000000;
          9'b111111001:table_out = 17'b01000110000101101;
          9'b111111010:table_out = 17'b01000011010010111;
          9'b111111011:table_out = 17'b01000101000000100;
          9'b111111100:table_out = 17'b00111111010111101;
          9'b111111101:table_out = 17'b01000001000101010;
          9'b111111110:table_out = 17'b00111110010010100;
          9'b111111111:table_out = 17'b01000000000000001;
          endcase
endmodule
